<?php
	echo $page['longdesc'];
?>
<?php 
	echo '<div class="page_title"><h1>News and Events</h1></div><br />';
		if ( count($news_query) > 0 )
		{
			echo '<div class="box-news">';
			echo '<div class="post_title">News</div>';
			foreach ( $news_query as $key => $news )
			{
				echo '<div class="post_description">';
				echo anchor("newsandevents/news/".$news['path'],$news['title']);
				echo '<p>'.$news['longdesc'].'</p>';
				echo '</div>';
			}
			echo '</div>';
		}
		
		// Get events	
		if ( count($events_query) > 0 )
		{
			echo '<div class="box-events">';
			echo '<div class="post_title">Events</div>';
			foreach ( $events_query as $key => $events )
			{
				echo '<div class="post_description">';
				echo anchor("newsandevents/events/".$events['path'],$events['title']);
				echo '<p>'.$events['longdesc'].'</p>';
				echo '</div>';
			}
			echo '</div>';
		}
?>